package com.cmc.cloud.cmclink.doc.vo.blnovo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

/**
 * @author 周贤
 * @date 2025/8/4
 */
@Schema(description = "管理后台 - 提单主信息导出条件")
@Data
@EqualsAndHashCode()
@ToString(callSuper = true)
@Builder
public class BlnoBaseInfoExportVO {

    @Schema(description = "订舱号")
    @Length(max = 20, message = "{blno.bookingno.length}")
    private String bookingNo;

    @Schema(description = "提单号")
    @Length(max = 50, message = "{blno.blno.length}")
    private String blNo;

    @Schema(description = "订舱船名")
    @Length(max = 50, message = "{blno.bkgvesselcode.length}")
    private String bkgVesselCode;

    @Schema(description = "订舱航次")
    @Length(max = 50, message = "{blno.bkgvoyage.length}")
    private String bkgVoyage;

    @Schema(description = "接货地")
    @Length(max = 5, message = "{blno.porcode.length}")
    private String porCode;

    @Schema(description = "装货港")
    @Length(max = 5, message = "{blno.polcode.length}")
    private String polCode;

    @Schema(description = "订舱人代码")
    private String bkpCode;
}
